Ext.ns('Dt.m');

Dt.m.CustomerMoneyListView = function(){
	this.dataGridPanel;
	this.initDataGridPanel();
	var mainPanelItems = [];
	mainPanelItems.push(this.dataGridPanel);
	Dt.m.CustomerMoneyListView.superclass.constructor.call(this, Ext.apply({
		region : "center",
		layout : "border",
		items : mainPanelItems
	}));
};


Ext.extend(Dt.m.CustomerMoneyListView,Ext.Panel,{
	id:'CustomerMoneyListView',
	title : '客户账单',
	closable : true,
	initDataGridPanel:function(){
		
		var tbar = new Ext.Toolbar({
			height : 30,
			bodyStyle : "text-align:left",
			items : []
		});
		var cm = new Ext.grid.ColumnModel({
			columns : [],
			defaults : {
				sortable : true,
				menuDisabled : false,
				width : 100
			}
		});
		this.dataGridPanel = new Ext.grid.GridPanel({
			region : "center",
			tbar : tbar,
			store : null,
			trackMouseOver : true,
			disableSelection : false,
			loadMask : true,
			cm : cm,
			viewConfig : {
				forceFit : true,
				enableRowBody : false,
				showPreview : false
			},
			bbar : new Ext.PagingToolbar({
				pageSize : 25,
				store : null,
				displayInfo : true,
				displayMsg : "当前显示从{0}至{1}， 共{2}条记录",
				emptyMsg : "当前没有记录"
			})
		});
	},
	item:[{
		
	}]
});

